package com.kujie.access.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.kujie.common.core.validate.EditGroup;
import com.kujie.access.domain.po.PropertyListManagement;
import com.kujie.common.tenant.core.TenantEntity;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PropertyListManagement.class, reverseConvertGenerate = false)
public class PropertyListManageBO extends TenantEntity {
    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * access_region_management表中的index_code
     */
    @TableField("property_uuid")

    private String indexCode;

    /**
     * 房源uuid
     */
    @TableField("property_uuid")
    private String propertyUUID;

    /**
     * 房源房号
     */
    private String roomNumber;

    /**
     * 房源面积，单位平方米
     */
    private String area;

    /**
     * 房源户型
     */
    private String houseType;

    /**
     * 房源租赁状态(空置、已租、已售出、装修中、预定)
     */
    private String leaseType;

    /**
     * 房源租赁用途(商业、办公等)
     */
    private String purpose;

    /**
     * 房源朝向
     */
    private String propertyOrientation;

    /**
     * 配套设施
     */
    private String supportFacilities;

    /**
     * 租金以平方米的价格为单位
     */
    private String rent;

    /**
     * 房源售价
     */
    private String price;

    /**
     * 房源平面图
     */
    private String floorPlan;
}
